package edu.compila.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.SimplePanel;

public class Caixa extends Composite {
	private FlowPanel flowPanel;
	private SimplePanel top;
	private SimplePanel top2;
	private SimplePanel main;
	private SimplePanel bot;
	private SimplePanel bot2;

	public Caixa() {
		createContents();
	}
	private void createContents() {
		{
			flowPanel = new FlowPanel();
			flowPanel.setStyleName("roundedcornr_box");
			initWidget(flowPanel);
		}
		{
			top = new SimplePanel();
			top.setStyleName("roundedcornr_top");
			flowPanel.add(top);
		}
		{
			top2 = new SimplePanel();
			top.setWidget(top2);
		}
		{
			main = new SimplePanel();
			main.setStyleName("roundedcornr_content");
			flowPanel.add(main);
		}
		{
			bot = new SimplePanel();
			bot.setStyleName("roundedcornr_bottom");
			flowPanel.add(bot);
		}
		{
			bot2 = new SimplePanel();
			bot.setWidget(bot2);
		}
	}

	public SimplePanel getMain() {
		return main;
	}
}
